package com.zhekou.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user-server")
public interface UserFeign {

    @RequestMapping("login")
    public String login(@RequestParam("hname") String hname,
                        @RequestParam("hpwd") String hpwd);
}
